<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<h1>Modify</h1>
<div class="dept_board_div">
	<form method="post">
		<input type="text" name="title" id="title" class="dept_board_title"
			placeholder="제목을 입력하세요." value=""><br />
		<textarea name="article" id="board_content" class="dept_board_article"></textarea><br /> 
		<input type="button" class="btn" onclick="deptBoardContentModify(${deptBoard.deptBoardNo})" value="Submit" /> 
		<input type="reset" value="Reset" class="btn" />
	</form>

</div>
<script type="text/javascript">
	var oEditors = [];
	nhn.husky.EZCreator.createInIFrame({
		oAppRef : oEditors,
		elPlaceHolder : "board_content",
		sSkinURI : "resources/editor/SEditorSkin.html",
		fCreator : "createSEditorInIFrame"
	});
	
	$('input#title').val('${deptBoard.title}');
	$('textarea#board_content').val('${deptBoard.article}');
	
</script>
